.user {
  padding: 5px;
  -webkit-app-region: no-drag;
  user-select: none;
  display: flex;
  border-radius: 4px;
  margin-bottom: 5px;
  position: relative;
  cursor: pointer;
}
.user .headpic {
  flex-basis: 30px;
  flex-shrink: 0;
  height: 30px;
  border-radius: 50%;
}
.user .headpic .badge sup {
  transform: scale(0.7) translateX(100%);
  top: -5px;
}
.user .headpic img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.user .name {
  width: calc(70%);
  float: left;
  line-height: 30px;
  padding-left: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user .close {
  width: 16px;
  height: 16px;
  position: absolute;
  top: 1px;
  right: 1px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  line-height: 16px;
  font-size: 14px;
  border-radius: 50%;
  transition: all 0.3s;
  display: none;
}
.user .close:hover {
  background: red;
}
.user:hover {
  background: #d3d3d3;
}
.user:hover .close {
  display: block;
}
.user.active {
  background: red;
  color: #fff;
}
.user::after {
  content: "";
  display: block;
  clear: both;
}
